package com.scz.dto.log;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description: 派单日志处理
 * @Author: yanruian
 * @Create: 2025-02-01 21:06
 * @Version: 1.0
 **/
@NoArgsConstructor
@Data
public class DispatchLogDto {

    /**
     * dispatchId
     */
    @JSONField(name = "dispatch_id")
    private String dispatchId;
    /**
     * orderId
     */
    @JSONField(name = "order_id")
    private String orderId;
    /**
     * employee
     */
    @JSONField(name = "employee")
    private EmployeeDTO employee;

    /**
     * EmployeeDTO
     */
    @NoArgsConstructor
    @Data
    public static class EmployeeDTO {
        /**
         * name
         */
        @JSONField(name = "name")
        private String name;
        /**
         * phone
         */
        @JSONField(name = "phone")
        private String phone;
        /**
         * company
         */
        @JSONField(name = "company")
        private String company;
    }
}
